1project('source generation', 'c')
2
3ct = custom_target('gen',
4output : ['mylib.h', 'mylib.c'],
5command : [find_program('generator.py'), '@OUTDIR@'],
6)
7
8e = executable('prog', 'main.c', ct)
9test('gentest', e)
10